package com.neusoft.oa.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

public class Draft {

  private long id;
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private java.sql.Timestamp time;
  private String title;
  private String main;
  private String setter;
  private String recipient;
  private String delFlag;


  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }

  @JsonFormat(pattern = "yyyy-MM-dd- HH:mm:ss",timezone = "GMT")
  public java.sql.Timestamp getTime() {
    return time;
  }

  public void setTime(java.sql.Timestamp time) {
    this.time = time;
  }


  public String getTitle() {
    return title;
  }

  public void setTitle(String title) {
    this.title = title;
  }


  public String getMain() {
    return main;
  }

  public void setMain(String main) {
    this.main = main;
  }


  public String getSetter() {
    return setter;
  }

  public void setSetter(String setter) {
    this.setter = setter;
  }


  public String getRecipient() {
    return recipient;
  }

  public void setRecipient(String recipient) {
    this.recipient = recipient;
  }


  public String getDelFlag() {
    return delFlag;
  }

  public void setDelFlag(String delFlag) {
    this.delFlag = delFlag;
  }

}
